package com.sunwoda.springbootshiro.bean;

import com.sunwoda.springbootshiro.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @program: springboot-shiro
 * @description:
 * @author: SGR
 * @create: 2021-09-22 10:52
 **/
@Component
public class UserDaoBean {

    @Autowired
    private UserDao userDao;

    public static UserDao getUserDao;

    @PostConstruct
    public void setUserDao(){
        getUserDao = this.userDao;
    }


}
